package org.rcy.ruicingmarket.category;

import org.apache.ibatis.annotations.Param;
import org.rcy.framework.data.dao.BaseDao;

import java.util.List;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/12/20 11:47
 */

public interface CategoryDao extends BaseDao<Category> {
	int countCondition(CategoryRequest request);
	List<Category> pageQuery(CategoryRequest request);
	List<Category> getAllLevelOneCategory();
	List<Category> findByPid(@Param("pid")Long pid);
}
